package com.zyw.zhuangdian.pojo.dto;

import com.zyw.zhuangdian.constant.ServiceConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("产品表")
public class ProductionDto extends PageDto{
    @ApiModelProperty("主键id")
    private Long pid;
    @ApiModelProperty("产品名称 40")
    private String title;
    @ApiModelProperty("品牌 40")
    private String brand;
    @ApiModelProperty("产品类型 20")
    private String type;
    @ApiModelProperty("产品规格 30")
    private String size;
    @ApiModelProperty("产品参考价格 20")
    private String price;
    @ApiModelProperty("产品主要功效 50")
    private String usage;
    @ApiModelProperty("产品适合肤质 50")
    private String forSkin;
    @ApiModelProperty("产品图片")
    private String pictures;
    @ApiModelProperty("记录状态 0 失效 1 可见 2 隐藏")
    private int status = ServiceConstant.PRODUCTION_VISIBLE;
    @ApiModelProperty("创建时间")
    private Date createTime;
}
